home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- if not count(the windowList) then
- doRollover(50)
- end if
- end
-
- on mouseLeave
- if not count(the windowList) then
- doRollout(50)
- end if
- end
-
- on mouseUp
- global CORRECTANSWERS, correct, ncount, TRIES, right
- glowClear()
- doClick()
- cursor(0)
- set TRIES to 0
- set right to 0
- set ncount to 1
- glow(20, 0)
- set CORRECTANSWERS to ["A", "C", "A", "B", "D", "B", "A", "D", "C", "B", "A", "B", "D", "A", "C", "B", "D", "A", "B", "C"]
- set correct to charToNum(getAt(CORRECTANSWERS, ncount)) - 50
- put line ((ncount - 1) * 6) + 1 of the text of member "ww2" into field "Question"
- set the textSize of member "Question" to 18
- set the textStyle of member "Question" to "bold"
- put line ((ncount - 1) * 6) + 2 of the text of member "ww2" into field "answer A"
- set the textSize of member "answer A" to 18
- set the textStyle of member "answer A" to "bold"
- put line ((ncount - 1) * 6) + 3 of the text of member "ww2" into field "answer B"
- set the textSize of member "answer B" to 18
- set the textStyle of member "answer B" to "bold"
- put line ((ncount - 1) * 6) + 4 of the text of member "ww2" into field "answer C"
- set the textSize of member "answer C" to 18
- set the textStyle of member "answer C" to "bold"
- put line ((ncount - 1) * 6) + 5 of the text of member "ww2" into field "answer D"
- set the textSize of member "answer D" to 18
- set the textStyle of member "answer D" to "bold"
- go(the frame + 1)
- end
-